﻿using System;

namespace Communication.Channel.Serial
{
	// Token: 0x02000029 RID: 41
	public class SerialAddress : Address
	{
		// Token: 0x0600014D RID: 333 RVA: 0x00003E0E File Offset: 0x0000200E
		public SerialAddress(string portName)
		{
			if (string.IsNullOrEmpty(portName))
			{
				throw new ArgumentException();
			}
			this.portName = portName;
		}

		// Token: 0x0600014E RID: 334 RVA: 0x00003E2B File Offset: 0x0000202B
		public string GetPortName()
		{
			return this.portName;
		}

		// Token: 0x0400004D RID: 77
		private string portName;
	}
}
